package com.huanglj.taobaounion.base;

import android.app.Application;
import android.content.Context;
import android.os.Handler;

import com.huanglj.taobaounion.utils.LogUtil;


import static com.huanglj.taobaounion.utils.LogUtil.VERBOSE;

public class BaseAppliaction extends Application {

    public static Context mContext = null;
    public static Handler mHandler = null;
    @Override
    public void onCreate() {
        super.onCreate();
        LogUtil.init(this.getPackageName(),VERBOSE);
        mContext = getBaseContext();
        mHandler = new android.os.Handler();
    }
    public static Context getContext(){
        return mContext;
    }
    public static Handler getHandler(){
        return mHandler;
    }
}
